import { makeAutoObservable } from "mobx";
import { Store } from ".";

export class ListScroll {
  public state: boolean = false;
  constructor() {
    makeAutoObservable(this);
  }
  setListScrollStatus(state: boolean) {
    this.state = !!state;
  }
}

export const getListScroll = (store: Store) => store.listScroll.state;
